<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Comment
 *
 * @author root
 */
class Comment {
    
    private $id;
    private $userID;
    private $messageID;
    private $text;
    private $time;

    public function __construct($id, $userID, $messageID, $text, $time) {
        $this->id = $id;
        $this->userID = $userID;
        $this->messageID = $messageID;
        $this->text = $text;
        $this->time = $time;
    }

    public function setId($id) {
        $this->id = $id;
    }
    
    public function getId() {
        return $this->id;
    }
    public function getUserID() {
        return $this->userID;
    }

    public function setUserID($userID) {
        $this->userID = $userID;
    }

    public function getMessageID() {
        return $this->messageID;
    }

    public function setMessageID($messageID) {
        $this->messageID = $messageID;
    }

    public function getText() {
        return $this->text;
    }

    public function setText($text) {
        $this->text = $text;
    }

    public function getTime() {
        return $this->time;
    }

    public function setTime($time) {
        $this->time = $time;
    }
}

?>
